package com.bbs.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;
@Data
@TableName(value = "tb_bbs_post")
public class BBSPost {
    // 帖子id
    private Long postId;

    //帖子发布者ID
    private Long publishUserId;

    //帖子的标题
    private String postTitle;

    //帖子的类别ID
    private Integer postCategoryId;

    //帖子所属类别的名称
    private String postCategoryName;

    //帖子的状态 0-未审核 1-审核通过 2-审核失败 (默认审核通过)
    private Byte postStatus;

    //帖子的浏览量
    private Long postViews;

    //帖子的评论量
    private Long postComments;

    //帖子的收藏量
    private Long postCollects;

    //帖子最新修改的时间
    private Date lastUpdateTime;

    //帖子创建的时间
    private Date createTime;

    //帖子的内容
    private String postContent;
}
